home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / PInterfaces / OrderedItems.p < prev    next >
Text File  |  1996-05-01  |  2KB  |  88 lines

  1. {
  2.      File:        OrderedItems.p
  3.  
  4.      Contains:    xxx put contents here xxx
  5.  
  6.      Version:    Technology:    System 8.0
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT OrderedItems;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __ORDEREDITEMS__}
  28. {$SETC __ORDEREDITEMS__ := 1}
  29.  
  30. {$I+}
  31. {$SETC OrderedItemsIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __TYPES__}
  35. {$I Types.p}
  36. {$ENDC}
  37.  
  38. {$PUSH}
  39. {$ALIGN MAC68K}
  40. {$LibExport+}
  41.  
  42. {$IFC FOR_SYSTEM8_PREEMPTIVE }
  43.  
  44. TYPE
  45.     OrderedItemService                    = OSType;
  46.     OrderedItemSignature                = OSType;
  47.  
  48. CONST
  49.     kMatchAnyOrderedItemService    = '****';
  50.     kMatchAnyOrderedItemSignature = '****';
  51.     kDoNotMatchAnyOrderedItemService = '----';
  52.     kDoNotMatchAnyOrderedItemSignature = '----';
  53.  
  54.  
  55. TYPE
  56.     OrderedItemNamePtr = ^OrderedItemName;
  57.     OrderedItemName = RECORD
  58.         service:                OrderedItemService;
  59.         signature:                OrderedItemSignature;
  60.     END;
  61.  
  62.     OrderedItemOptions                    = OptionBits;
  63.  
  64. CONST
  65.     kOrderedItemIsRightBefore    = $00000001;
  66.     kOrderedItemIsRightAfter    = $00000002;
  67.  
  68.  
  69. TYPE
  70.     OrderRequirementsPtr = ^OrderRequirements;
  71.     OrderRequirements = RECORD
  72.         options:                OrderedItemOptions;
  73.         itemBefore:                OrderedItemName;
  74.         itemAfter:                OrderedItemName;
  75.     END;
  76.  
  77. {$ENDC}
  78. {$ALIGN RESET}
  79. {$POP}
  80.  
  81. {$SETC UsingIncludes := OrderedItemsIncludes}
  82.  
  83. {$ENDC} {__ORDEREDITEMS__}
  84.  
  85. {$IFC NOT UsingIncludes}
  86.  END.
  87. {$ENDC}
  88.